<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="jquery-2.1.3.min.js"></script>
    <title></title>
</head>
<body id="aa">
<div class="Language" data-name="name">
    白庆春
</div>
<div class="Language" data-name="table">
    桌台
</div>
<div class="Language" data-name="order">
   订单
</div>
<div class="Language" data-name="conquest">
    优惠券
</div>
<button class="Chinese"> 中文</button>
<button class="English">English</button>
<script>
    var LANGUAGE={
        name:['白庆春','baiqingchun'],
        table:['桌台','zhuotai'],
        order:['订单','order'],
        conquest:['优惠券','coupon']
    }
     function setLanguage(language){
//         alert(language)
         $('.Language').each(function(k,v){

             $(this).html(LANGUAGE[$(this).data('name')][language]);
         });
     }

    $('.Chinese').click(function(){

        setLanguage(0);
    })
    $('.English').click(function(){
        setLanguage(1);
    })
</script>
</body>
</html>